const AdHome = resolve => {
    require.ensure(['@/Pages/Administrator/AdHome.vue'], () => {
        resolve(require('@/Pages/Administrator/AdHome.vue'))
    })
}
const wait = resolve => {
    require.ensure(['@/Pages/Administrator/wait.vue'], () => {
        resolve(require('@/Pages/Administrator/wait.vue'))
    })
}
const complate = resolve => {
    require.ensure(['@/Pages/Administrator/complate.vue'], () => {
        resolve(require('@/Pages/Administrator/complate.vue'))
    })
}
const AdDetails = resolve => {
    require.ensure(['@/Pages/Administrator/AdDetails.vue'], () => {
        resolve(require('@/Pages/Administrator/AdDetails.vue'))
    })
}
const ADorganization = resolve => {
    require.ensure(['@/Pages/Administrator/ADorganization.vue'], () => {
        resolve(require('@/Pages/Administrator/ADorganization.vue'))
    })
}
const ADorganizationScend = resolve => {
    require.ensure(['@/Pages/Administrator/ADorganizationScend.vue'], () => {
        resolve(require('@/Pages/Administrator/ADorganizationScend.vue'))
    })
}
const DE = resolve => {
    require.ensure(['@/Pages/Administrator/DE.vue'], () => {
        resolve(require('@/Pages/Administrator/DE.vue'))
    })
}
let routes = [
    {
        path: '/AdHome',
        redirect: '/wait'
    },
    {
        path: '/AdHome',
        name: 'AdHome',
        component: AdHome,
        children: [
            {
                path: '/wait',
                name: 'wait',
                component: wait
            },
            {
                path: '/complate',
                name: 'complate',
                component: complate
            }
        ]
    },
    {
        path: '/DE',
        name: 'DE',
        component: DE,
        children: [
            {
                path: '/AdDetails',
                name: 'AdDetails',
                component: AdDetails
            },
            {
                path: '/ADorganization',
                name: 'ADorganization',
                component: ADorganization
            },
            {
                path: '/ADorganizationScend',
                name: 'ADorganizationScend',
                component: ADorganizationScend
            }
        ]
    }
]

export default routes
